package com.latefly.skewwork.data.consts

import androidx.annotation.StringRes
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Apps
import androidx.compose.material.icons.filled.Article
import androidx.compose.material.icons.filled.Bluetooth
import androidx.compose.material.icons.filled.Calculate
import androidx.compose.material.icons.filled.CameraAlt
import androidx.compose.material.icons.filled.ImageAspectRatio
import androidx.compose.material.icons.filled.Person
import androidx.compose.material.icons.filled.Tab
import androidx.compose.material.icons.filled.Today
import androidx.compose.ui.graphics.vector.ImageVector
import com.latefly.skewwork.MainActivity
import com.latefly.skewwork.R

enum class PageIndex(
    val imageVector: ImageVector,
    @StringRes val description: Int,
    val router: String = "",
    val startActivity: Boolean=false
) {
    //主页按钮
    Blog(Icons.Default.Article, R.string.home_blog, "Home"),
    Resource(Icons.Default.ImageAspectRatio, R.string.home_resource, "Resource"),
    Tools(Icons.Default.Apps, R.string.home_tools, "Tools"),
    Self(Icons.Default.Person, R.string.home_self, "Self"),

    //工具叶Button
    Test(Icons.Default.Tab, R.string.tools_test, "Test"),
    TodoList(Icons.Default.Today, R.string.tools_todo_list, "Tools/ToDoList"),
    Calculator(Icons.Default.Calculate, R.string.tools_calculator, "Tools/Calculator"),
    Camera(Icons.Default.CameraAlt, R.string.tools_camera, "",true),
    BLE(Icons.Default.Bluetooth, R.string.tools_ble, "Tools/Ble");


    companion object {
        val Default = Blog
    }
}